package com.my.service;

import com.my.bean.ResultPage;
import com.my.bean.SituationAnalysis;
import com.baomidou.mybatisplus.service.IService;
import com.my.bean.VoPage;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 客户情况分析 服务类
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-07
 */
public interface SituationAnalysisService extends IService<SituationAnalysis> {


    //实现分页查询
    public ResultPage<SituationAnalysis> selectMyPage(Map map, VoPage voPage, HttpSession session,Long areaid,boolean admin);

    //实现每个销售每个月的总单数
    public ResultPage<SituationAnalysis> selectCount(Map map,VoPage voPage,Long areaid,boolean admin);


    //根据录入人查询
    public ResultPage<SituationAnalysis> selectByPerson(VoPage voPage,String person,Long areaid,boolean admin);




}
